<?php
    header("Content-Type: text/html; charset=gbk");
    require_once ( "_common/check_param.php" );
    require_once ( "_common/key_define.php" );
    require_once ( "_common/msg_helper.php" );
    require_once ( "_common/sqlite_helper.php" );
    require_once ( "_common/ftp.php" );
    require_once ( "_common/curl_helper.php" );
    require_once ( "_common/memcached_helper.php" );
    require_once ( "_common/ip.php" );
    
    error_reporting(E_ERROR|E_PARSE);
    
    //check ip
    $check_ip_enable = true;   //是否检查每秒ip set 操作次数(同一客户端每秒set1次)
    
    //sqlite
    $sqlite_db_name = "sqlite.db";
    
    //cdn
    $ftp_host = "192.168.184.129";                //资源服务器(cdn上传地址)
    $ftp_port = 21;                 
    $ftp_user = "ftp_admin2";
    $ftp_pass = "123";
    $cdn_url = "http://192.168.184.129/data2/";     //cdn访问地址
    
    //memcached
    $memcached_cfg = array(
        "host"=>"192.168.184.129",
        "port"=>11211
    );
